
#pragma once

#include "Entity.h"
#include "EventListener.h"

class Tank : public Entity, public EventListener
{
public:
	Tank(void);
	~Tank(void);
	void Update(float dt) override;
	void Render() override;
	int GetType(void) const	override {return entityType;}
	void HandleEvent(Event* e);

	float	moveSpeed;
	int		buildPoints;
	int		upgradeLevel;
	int		healthCurrent;
	int		healthMax;
	float   attackRange;
	Entity* attackTarget;
	bool    spawnpointIsEmpty;
};
